IMAPStore disroot-remote
Host disroot.org
Port  993
# UserCmd "pass emails/disroot | sed -n '/login: /s/login: //p'"
# PassCmd "pass mutt-wizard-disroot"
UserCmd "gpg -d --passphrase-file ~/.local/share/gnupg/passphrase --pinentry-mode loopback --quiet --for-your-eyes-only --no-tty $PASSWORD_STORE_DIR/emails/disroot.gpg | sed -n '/login:/s/login: //p'"
PassCmd "gpg -d --passphrase-file ~/.local/share/gnupg/passphrase --pinentry-mode loopback --quiet --for-your-eyes-only --no-tty $PASSWORD_STORE_DIR/emails/disroot.gpg | head -n1"
## Notice: SSLType is deprecated. Use TLSType instead.
TLSType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt

MaildirStore disroot-local
Subfolders Verbatim
Path ~/.local/share/mail/disroot/
Inbox ~/.local/share/mail/disroot/INBOX
Flatten .

Channel disroot
Expunge Both
Far :disroot-remote:
Near :disroot-local:
Create Both
Patterns *
SyncState *
MaxMessages 0
ExpireUnread no
# End profile
